using SG3L_RAG.Application.DTOs;

namespace SG3L_RAG.Application.Interfaces
{
    public interface IChatService
    {
        Task<ChatResponseDto> AskQuestionAsync(ChatRequestDto request);
        Task<ChatHistoryDto> GetChatHistoryAsync(Guid userId, int page = 1, int pageSize = 20);
        Task ClearChatHistoryAsync(Guid userId);
        Task<bool> SaveChatAsync(Guid userId, string question, string answer, List<DocumentSourceDto> sources);
    }
}
